home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / wc3x / rotscrns.zip / ROTATE.DOC < prev    next >
Text File  |  1992-12-14  |  5KB  |  177 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.                              ROTATE Version 1.01
  13.                        By Andy Hansis & NutHut Software
  14.                               Compiled 12/14/92
  15.                                   (c) 1992
  16.  
  17.  
  18. This program is relased as shareware and may be used for a 30 day free 
  19. evaluation period free of charge. If after 30 days you decide you want
  20. to continue to use this software, you must pay a $5.00 registration fee
  21. to the author. Continuing to use this software after the 30 day evaluation
  22. period is a violation of civil and criminal law.
  23.  
  24. The author of this program accepts no responsibility for the operation of
  25. this software, any damage, destruction, or loss of data, time or assets that
  26. may result from the use of this software. Use at your own risk. The
  27. author has done everything he can to assure that this program works properly.
  28.  
  29.  
  30.  
  31. Support can be obtained thru the folowing :
  32.  
  33.  
  34.                 The Nut House BBS
  35.                 602-459-3656 
  36.                 300/1200/2400 bps
  37.                 FidoNet 1:309/13.0 @FidoNet.Org
  38.                 PoliceNet 150:300/8.0 @PoliceNet.Org
  39.                 
  40.                 CompuServe 72347,3530
  41.  
  42.  
  43.  
  44. To Register:
  45.  
  46.     Send your request for registration containing the following:
  47.  
  48.     Name:
  49.     Address:
  50.     Phone Number:
  51.     Number Of Copies To be Registered:
  52.     Make sure you note the registration is for ROTATE!
  53.  
  54.     And a check or money order payable to Andy Hansis for $5.00 per
  55.     copy you want to:
  56.          
  57.                         Andy Hansis
  58.                         1031 N. 7'th Street
  59.                         Sierra Vista, Arizona 85635
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66. Setting up the rotate program:
  67.  
  68.     First you need to create a "pool" area for your screens to be rotated.
  69. See the sample directory structure for how I did this. In my example I
  70. am rotating a Goodbye, Hello1, and Hello2 display file and a file1, Msg1,
  71. and Main1 menu file.
  72.  
  73.  
  74. Sample directory structure:                        
  75.                          
  76.                         |-------- Goodbye
  77.                         |
  78.         |               |-------- Hello1
  79.         |               |
  80.         |   Screens     |-------- Hello2
  81.         |---------------|
  82.         |               |-------- File
  83.         |               |
  84.         |               |-------- Msg
  85.  C:\----|               |
  86.         |               |-------- Main
  87.         |         
  88.         |  WC30   |------- Disp
  89.         |---------|
  90.         |         |------- Menu
  91.         |         |
  92.         |         |------- Help
  93.                  
  94.  
  95.  
  96.  
  97.     Now that we have made our "pool" directories, we need to copy the screens
  98. into the appropriate directory. The rename your screens to numbered filenames
  99. starting with 1 for each pool directory. 
  100. For example:
  101.     
  102.     1.SCR               6.SCR
  103.     1.BBS               6.BBS
  104.     2.SCR               7.SCR
  105.     2.BBS               7.BBS
  106.     3.SCR               8.SCR
  107.     3.BBS               8.BBS
  108.     4.SCR               9.SCR
  109.     4.BBS               9.BBS
  110.     5.SCR              10.SCR
  111.     5.BBS              10.BBS
  112.  
  113.     Ok, now that we have lots of directories full of lots of displays we
  114. need to make a file in each pool directory named ROTATE.FLG.
  115. ROTATE.FLG is a two line file consisting of the number of files to be rotated
  116. Lets say that our Goodbye pool directory has the above mentioned screens, 
  117. 1.SCR and .BBS thru 10.SCR and .BBS, then the first line in ROTATE.FLG is 
  118. 10. The second line in the .FLG file is the next screen to move when the
  119. program is executed again. for now we will just place a 1 in the second line.
  120. So our example ROTATE.FLG file looks like this in the Goodbye pool directory:
  121.  
  122. 10
  123. 1
  124.  
  125. Now go to the other pool directories and make a .FLG file for them.
  126.  
  127. The Configuration File:
  128.  
  129.     The Config file consists of to key sections. The first section is 
  130. the first line in the file which is the number of rotations to take place.
  131. in my example file we want to make 6 file rotations. The second section
  132. are the actual paths to move from, and the paths and filenames minus the
  133. extension to move to. For each rotation operation there are two entries:
  134.  
  135. 1. The path to move the file from.
  136.    Note that there are NO trailing backslashes on the path name.
  137.  
  138. 2. The path and filename to move the file to.
  139.    Note that there is NO extension on the file name. This allows you to
  140.    move both .BBS and .SCR or just a .BBS depending on what you have
  141.    in the pool directories.
  142.  
  143. In the first move pair in the example configuration file, what the program 
  144. does is the same thing as this DOS command:
  145.  
  146. COPY C:\SCREENS\GOODBYE\1.* C:\WC30\DISP\GOODBYE.*
  147.  
  148. Thus we will copy 1.SCR and 1.BBS from our goodbye pool to our display 
  149. directory as GOODBYE.SCR and GOODBYE.BBS.
  150.  
  151.  
  152. sample ROTATE.CFG:
  153.  
  154.  
  155. 6
  156. c:\screens\goodbye
  157. c:\wc30\disp\goodbye
  158. c:\screens\hello1
  159. c:\wc30\disp\hello1
  160. c:\screens\hello2
  161. c:\wc30\disp\hello2
  162. c:\screens\file
  163. c:\wc30\menus\file1
  164. c:\screens\msg
  165. c:\wc30\menus\msg1
  166. c:\screens\main
  167. c:\wc30\menus\main1
  168.  
  169.  
  170.  
  171.     That's it, Now all you have to do is put a call in your batch file
  172. to change to the directory that you have ROTATE.EXE and ROTATE.CFG
  173. in and call ROTATE. ROTATE can be called from any directory as long
  174. as it finds a copy of ROTATE.CFG in the current default directory.
  175.  
  176.  
  177.